package com.erp.pro.service.impl;

import com.erp.pro.dao.InReportDao;
import com.erp.pro.domain.InReportByGroupDO;
import com.erp.pro.domain.InReportBySkuDO;
import com.erp.pro.service.InReportService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Auther: Eric
 * @Date: 2020-01-10 15:02
 * @Description:
 */
@Service
public class InReportServiceImpl implements InReportService {

    @Autowired
    private InReportDao inReportDao;

    @Override
    public List<InReportBySkuDO> listbysku(Map<String, Object> map) {
        return inReportDao.listbysku(map);
    }

    @Override
    public int countbysku(Map<String, Object> map) {
        return inReportDao.countbysku(map);
    }

    @Override
    public List<InReportByGroupDO> listbygroup(Map<String, Object> map) {
        return inReportDao.listbygroup(map);
    }

    @Override
    public int countbygroup(Map<String, Object> map) {
        return inReportDao.countbygroup(map);
    }
}
